package mvc.view.forms.buttons.toolbar;

import java.awt.Button;

import mvc.view.forms.buttons.VIEW_ACTIONS;

public class CToolbarButton extends Button {
	private VIEW_ACTIONS modelAction;
	
	public CToolbarButton(String caption, VIEW_ACTIONS action){
		super(caption);
		modelAction = action;
	}

	public VIEW_ACTIONS getModelAction() {
	  return modelAction;
  }

	public void setModelAction(VIEW_ACTIONS modelAction) {
	  this.modelAction = modelAction;
  }
}
